﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Deparment_Messge.aspx.cs" Inherits="Deparment_Deparment_Messge" validateRequest="false"%>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link href="../styles/css.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

    <title>浏览内部信息</title>

    <script language="javascript" type="text/javascript">
        function CheckValue(objTitleID,objContentID,objDateId)
        {
            txttitle=document.getElementById(objTitleID).value;
            txtcontent=document.getElementById(objContentID).value;
            txtDate=document.getElementById(objDateId).value;
            
            if(txttitle=="")
            {
                alert("标题不能为空!");
                return false;
            }
            if(txtcontent=="")
            {
                alert("信息内容不能为空!");
                return false;
            }
            if(txtDate=="")
            {
                alert("发布日期不能为空!");
                return false;
            }
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div style="text-align: center;">
            <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1"
                class="table_table2">
                <tr>
                    <td class="table_td3">
                        标题：</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtTitle" Width="400px" Text="" ReadOnly="true" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 371px">
                        内容：</td>
                    <td class="table_td2" style="height: 371px">
                        <div style="width: 100%; table-layout: fixed; text-align: left;">
                            <FTB:FreeTextBox ID="txtContent" ReadOnly="true" runat="server">
                            </FTB:FreeTextBox>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 28px">
                        下载附件：</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:Label runat="server" ID="txtfj"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 28px">
                        发布时间：</td>
                    <td class="table_td2" style="height: 28px">
                        <asp:TextBox runat="server" ID="txtAddDate" ReadOnly="true"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td2" colspan="2" align="center">
                        <input id="Button2" class="button_bg" type="button" value="关  闭" onclick="window.close()" /></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
